﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Module.Test.Domain.Models.Grpc
{
    [DataContract(Namespace ="test")]
    public class Person
    {
        [DataMember(Order =1)]
        public string FullName { get; set; }

        [DataMember(Order = 2)]
        public DateTime DateOfBirth { get; set; }

        [DataMember(Order = 3)]
        public IList<Address> Addresses { get; set; }
    }
}
